package com.vogue.supplymall.order.domain.model;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Entity;
import javax.persistence.Table;

@Entity
@Table(name = "comment")
public class Comment extends TendBaseEntity implements Serializable {
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 4964492157526381739L;

	/**
	 * 订单id
	 */
	private Long orderid;
	
	/**
	 * 订单编号
	 */
	private String ordernumber;
	
	/**
	 * 下单时间
	 */
	private Date orderdate;
	
	/**
	 * 店铺id
	 */
	private Long shopid;
	
	
	/**
	 * 店铺名称
	 */
	private String shopname;
	
	/**
	 * 商品id
	 */
	private Long productid;
	
	/**
	 * 商品名称
	 */
	private String productname;
	
	/**
	 * 商品图片
	 */
	private String productimgurl;
	
	/**
	 * 评价分数 1-10 对应0.5到5颗星，未以后半颗星留值
	 */
	private int commentmark;
	
	/**
	 * 买家id
	 */
	private Long buyerid;
	
	/**
	 * 买家名称
	 */
	private String buyername;
	
	/**
	 * 买家注册号id
	 */
	private Long burersyscodeid;
	
	/**
	 * 卖家注册号id
	 */
	private Long sellersyscodeid;
	
	/**
	 * 匿名标记 0：匿名 1：不匿名
	 */
	private int hiddenflag;
	
	/**
	 * 是否必须回复标记 0：初始状态 1：需要回复 2：不需要回复 3：需要回复的已经回复
	 */
	private int restoreflag;
	
	/**
	 * 回复标记 0：未回复 1：已回复
	 */
	private int answerflag;

	public Long getOrderid() {
		return orderid;
	}

	public void setOrderid(Long orderid) {
		this.orderid = orderid;
	}

	public String getOrdernumber() {
		return ordernumber;
	}

	public void setOrdernumber(String ordernumber) {
		this.ordernumber = ordernumber;
	}

	public Date getOrderdate() {
		return orderdate;
	}

	public void setOrderdate(Date orderdate) {
		this.orderdate = orderdate;
	}

	public Long getShopid() {
		return shopid;
	}

	public void setShopid(Long shopid) {
		this.shopid = shopid;
	}

	public String getShopname() {
		return shopname;
	}

	public void setShopname(String shopname) {
		this.shopname = shopname;
	}

	public Long getProductid() {
		return productid;
	}

	public void setProductid(Long productid) {
		this.productid = productid;
	}

	public String getProductname() {
		return productname;
	}

	public void setProductname(String productname) {
		this.productname = productname;
	}

	public Long getBuyerid() {
		return buyerid;
	}

	public void setBuyerid(Long buyerid) {
		this.buyerid = buyerid;
	}

	public String getBuyername() {
		return buyername;
	}

	public void setBuyername(String buyername) {
		this.buyername = buyername;
	}

	public Long getBurersyscodeid() {
		return burersyscodeid;
	}

	public void setBurersyscodeid(Long burersyscodeid) {
		this.burersyscodeid = burersyscodeid;
	}

	public Long getSellersyscodeid() {
		return sellersyscodeid;
	}

	public void setSellersyscodeid(Long sellersyscodeid) {
		this.sellersyscodeid = sellersyscodeid;
	}

	public int getHiddenflag() {
		return hiddenflag;
	}

	public void setHiddenflag(int hiddenflag) {
		this.hiddenflag = hiddenflag;
	}

	public String getProductimgurl() {
		return productimgurl;
	}

	public void setProductimgurl(String productimgurl) {
		this.productimgurl = productimgurl;
	}

	public int getCommentmark() {
		return commentmark;
	}

	public void setCommentmark(int commentmark) {
		this.commentmark = commentmark;
	}

	public int getRestoreflag() {
		return restoreflag;
	}

	public void setRestoreflag(int restoreflag) {
		this.restoreflag = restoreflag;
	}

	public int getAnswerflag() {
		return answerflag;
	}

	public void setAnswerflag(int answerflag) {
		this.answerflag = answerflag;
	}

	
}
